<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>浮动元素搭配标准流父盒子-练习2</title>
    <style>
        .father {
            width: 1200px;
            height: 460px;
            background-color: #eeeded;

        }

        div {
            width: 234px;
            height: 460px;
            background-color: pink;
            float: left;
            margin: 0 20px;
        }
    </style>
</head>

<body>
    <div class="father">
        <div class="box1"></div>
        <div class="box2"></div>
        <div class="box3"></div>
        <div class="box4"></div>
    </div>
</body>

</html>